/* 弹出窗口样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    overflow-x: hidden;
}

.popup-container {
    width: 360px;
    min-height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header p {
    font-size: 14px;
    opacity: 0.9;
}

.content {
    padding: 20px;
}

.status-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.status-item:last-child {
    margin-bottom: 0;
}

.label {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
}

.status {
    font-weight: 600;
    color: #007bff;
    font-size: 14px;
}

.count {
    font-weight: 700;
    color: #ff6b6b;
    font-size: 16px;
    margin: 0 4px;
}

.actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(240, 147, 251, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-icon {
    font-size: 16px;
}

.settings {
    border-top: 1px solid #e9ecef;
    padding-top: 16px;
}

.setting-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.setting-item label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.footer {
    background: #f8f9fa;
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.version {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.tip {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 状态指示器 */
.status.collecting {
    color: #ff8c00;
}

.status.success {
    color: #28a745;
}

.status.error {
    color: #dc3545;
}

/* 动画效果 */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.collecting {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 400px) {
    .popup-container {
        width: 320px;
    }
    
    .header {
        padding: 16px;
    }
    
    .header h1 {
        font-size: 16px;
    }
    
    .content {
        padding: 16px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
} 